
<ul class="classes-box">
    {% for i in classes %}
        <li>
            <a href="/demo/nav/{{ i.name }}" {% if now_cls == i.name %} style="background-color: cornflowerblue"

            {% endif %} >
                {{ i.name | capfirst}}
            </a>
        </li>

    {% endfor %}

</ul>